package com.cskaoyan.bean.vo.wx;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author jzp
 * @since 2022/11/22 14:08
 */
@NoArgsConstructor
@Data
public class WxAuthLoginVo {

    @JsonProperty("userInfo")
    private UserInfoDTO userInfo;
    @JsonProperty("token")
    private String token;

    @NoArgsConstructor
    @Data
    public static class UserInfoDTO {
        @JsonProperty("nickName")
        private String nickName;
        @JsonProperty("avatarUrl")
        private String avatarUrl;
    }
}
